from ninja import NinjaAPI

ninja_api = NinjaAPI()

from applications.system import views as system_views
from applications.book import views as book_views
from applications.movie import views as movie_views
from applications.music import views as music_views

ninja_api.add_router("/system", system_views.router, tags=["系统相关"])
ninja_api.add_router("/book", book_views.router, tags=["书籍相关"])
ninja_api.add_router("/movie", movie_views.router, tags=["电影相关"])
ninja_api.add_router("/music", music_views.router, tags=["音乐相关"])
